package com.feicheng.persistence.mapper;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feicheng.persistence.entity.DepositBackRequest;
import com.feicheng.persistence.model.DepositBackRequestMain;
import com.feicheng.persistence.model.DepositBackRequestStoreClient;
import com.feicheng.persistence.model.DepositRecordMain;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-14
 */
public interface DepositBackRequestMapper extends BaseMapper<DepositBackRequest> {

    Page<DepositBackRequestMain> getDepositBackRequestMapper(Page<DepositBackRequestMain> page, @Param(Constants.WRAPPER) QueryWrapper<DepositBackRequestMain> wrapper);

    List<DepositBackRequestStoreClient> getDepositBackRequests(List<String> openIds);

}
